package com.sc.nft.entity.dto;

import com.sc.nft.enums.SecondWantBuyOrderTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 刘国航
 * @desc
 * @since 2024/12/20 10:08
 */
@Data
public class WantBuyOrderBaseDTO implements Serializable {

    private static final long serialVersionUID = 1955479634423314244L;

    @ApiModelProperty("求购类型")
    @NotNull(message = "求购类型不能为空")
    private SecondWantBuyOrderTypeEnum orderType;

    @ApiModelProperty("藏品id/道具id")
    @NotNull(message = "藏品id/道具id不能为空")
    private Long relationId;

}
